package org.unique.support.template;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.unique.support.Support;
import org.unique.web.render.RenderFactory;

/**
 * 模板引擎加载
 * @author biezhi
 * @version 1.0
 */
public class TemplateSupport extends Support {

	private static final Logger LOGGER = LoggerFactory.getLogger(TemplateSupport.class);
	
	@Override
	public void startup() {
		RenderFactory.single().setRender(new JetRender());
		LOGGER.info("jetbrick增强加载成功");
		this.status = 1;
	}

	@Override
	public void shutdown() {
		this.status = 0;
	}

}
